// @flow

import React from "react";

const Code = ({ size }: { size: number }) => (
  <svg viewBox="0 0 19 17" height={size} width={size}>
    <path
      d="M7.64584 16.5C7.80209 16.5312 7.92709 16.4688 7.95834 16.3438L12.3646 1.1875C12.3958 1.0625 12.3333 0.90625 12.2083 0.875L10.9896 0.53125C10.8646 0.5 10.7083 0.5625 10.6771 0.6875L6.27084 15.8438C6.23959 15.9688 6.30209 16.125 6.45834 16.1562L7.64584 16.5ZM5.05209 12.7188L5.89584 11.8125C5.98959 11.7188 5.98959 11.5625 5.89584 11.4688L2.58334 8.5L5.89584 5.5625C5.98959 5.46875 5.98959 5.3125 5.89584 5.21875L5.05209 4.3125C4.95834 4.21875 4.80209 4.1875 4.70834 4.28125L0.395844 8.34375C0.302094 8.4375 0.302094 8.59375 0.395844 8.6875L4.70834 12.7188C4.80209 12.8125 4.95834 12.8125 5.05209 12.7188ZM13.9271 12.7188L18.2396 8.6875C18.3333 8.59375 18.3333 8.4375 18.2396 8.34375L13.9271 4.28125C13.8333 4.1875 13.6771 4.21875 13.5833 4.3125L12.7396 5.21875C12.6458 5.3125 12.6458 5.46875 12.7396 5.5625L16.0521 8.5L12.7396 11.4688C12.6458 11.5625 12.6458 11.7188 12.7396 11.8125L13.5833 12.7188C13.6771 12.8125 13.8333 12.8125 13.9271 12.7188Z"
      fill="currentColor"
    />
  </svg>
);

export default Code;
